<%@ Control Language="C#"  %>
<%@ Register Assembly="Swaf.Gui.AspNet2" Namespace="Swaf.Gui.AspNet2" TagPrefix="swf" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="cke" %>
<%@ Register Assembly="Syrinx.Gui.AspNet.Nitobi2" Namespace="Syrinx.Gui.AspNet.Nitobi2" TagPrefix="snc" %><%@ Register Assembly="NitobiControls" Namespace="Nitobi" TagPrefix="ntb" %>
<div class="<%= styleClass(table) %>">
	<table width="100%">
		
		<tr>
		    <td>
			    <swf:DivLayers runat="server" NumLayers="9" CssClass="FormContentArea1" ID="d0">
				    <asp:Image ID="primaryPicture_name" runat="server" ImageUrl="$mediaCacheName$/SmallMedium/$primaryPicture.name$" EnableViewState="false"/><br />
			    </swf:DivLayers>
		    </td>
		    <td width="70%">
			    <swf:DivLayers runat="server" NumLayers="9" CssClass="FormContentArea2" ID="d1">
				    <asp:Label ID="_baseTitleLbl" runat="server" Text="Title:" /><br />
			        <asp:TextBox ID="baseTitle" runat="server" Width="90%" MaxLength="150" ></asp:TextBox><br />
			        <asp:Label ID="_minAnswerLbl" runat="server" Text="Minimum Answer" /><br />
			        <asp:TextBox ID="minAnswer" runat="server" Width="50px" MaxLength="2" /><br />
			        <asp:Label ID="_maxAnswerLbl" runat="server" Text="Maximum Answer" /><br />
			        <asp:TextBox ID="maxAnswer" runat="server" Width="50px" MaxLength="5" />
			        <br />
			        <asp:Label ID="_summaryLbl" runat="server" Text="Summary:"  /><br />
				    <asp:TextBox ID="baseSummary" runat="server" BackColor="Transparent" Height="50px" Width="90%" onkeypress="if(this.value.length >=1250)return false;" onchange="if(this.value.length >=1250){this.value = this.value.substr(0,1250);alert('You have pasted over 1250 charaters into the article summary.  It will be truncated to the 1250 character limit.')};" TextMode="MultiLine" /><br />
			    </swf:DivLayers>
		    </td>
		</tr>
		<tr>
		    <td colspan="2">
				<swf:DivLayers runat="server" NumLayers="9" CssClass="FormContentArea3" ID="d2">
					
					<asp:Label ID="_bodyLbl" runat="server" Text="Main Content:" />
					<div id='sizearea' onmousedown='start(this)'>
						<cke:FCKeditor ID="baseBody" Width="100%" height="400px" runat="server"></cke:FCKeditor>
					</div>
				</swf:DivLayers>
			</td>
		</tr>
	</table>		
</div>


